#pragma once
#include "afxstd.h"
#include "wx/wx.h"
#include "wxScenecommand.h"
class wxSceneView;
class wxSceneTool :
    public wxSceneCommand
{
public:
    wxSceneTool(void);
    ~wxSceneTool(void);
public:
	virtual void OnCreate(Runtime *runtime);
	virtual void Execute();
public:
	
    virtual void OnKeyDown(wxKeyEvent &e);
    virtual void OnKeyUp(wxKeyEvent &e);
	virtual void OnMouse(wxMouseEvent &e);
    virtual void OnMouseDown(wxMouseEvent &e);
    virtual void OnMouseUp(wxMouseEvent &e);
    virtual void OnMouseMove(wxMouseEvent &e);
    virtual void OnMouseWheel(wxMouseEvent &e);
	virtual void OnMouseCaptureLost(wxMouseCaptureLostEvent& evt);
private:
	wxSceneView * pSceneView;
	wxSceneCanvas *pSceneCanvas;
	int mIsMouseCaptured;
};

